Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable the kb-delete-entry in script mode #2087

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

douo
Copy link
Contributor

@douo douo commented Jan 21, 2025

What this PR does:

  • Enable the kb-delete-entry keybinding in scripts through a new use-delete option.
    • Default is false to maintain backward compatibility and avoid breaking existing behavior.
  • Updated documentation to reflect the new state for entry deletion.
  • Modified the script environment example to include the new option.

Reason:

This change enhances user control over entry management in scripts. Specifically, for clipboard management, providing the ability to delete clipboard entries is an important feature.

@DaveDavenport
Copy link
Collaborator

I don't think we need the 'use-delete' flag. I don't think it would collide/break any functional to have it always 'on'.

The normal hotkeys do (as they are used to quick-switch between modes), but this should not be an issue.

@douo
Copy link
Contributor Author

douo commented Jan 22, 2025

Thank you for the feedback! I’ve updated the PR to remove the use-delete flag as your suggestion. The kb-delete-entry keybinding is now always enabled in script mode.

@DaveDavenport DaveDavenport merged commit 5870040 into davatorium:next Jan 22, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants